<%@ page language="java" contentType="text/html; charset=UTF-8"
         isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
    String path = request.getContextPath();
%>

<html>
    <head>
         <script type="text/javascript">
           
            function del() {
                var msgs = "确认删除记录吗？";
                if (confirm(msgs) == true) {
                    return true;
                } else {
                    return false;
                }
            }
        </script>
                <style>
body,td,th{font-size:12px}
.alllisttitle{ padding-left:10px}
a:link,a:visited{ color:#000000; text-decoration:none}
a:hover{ color:#ff0000; text-decoration:none}
select{ background:#ffffff!important}
</style>
        <title>知识领域</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="../css/style.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="<%=path%>/js/jquery/jquery-1.6.1.min.js"></script>
     
    </head>

    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

        <s:form action="list" method='post' theme="simple" name="form"
                    namespace="/country">
                <s:hidden id="page" name="page"></s:hidden>
                <s:hidden id="pageSize" name="pageSize"></s:hidden>
       </s:form>
        <table width="99%" border="0" align="center" cellpadding="0"
               cellspacing="0">
            <tr>
                <td width="60%">  
                <td width="20%">
               </td>
                <td height="30" align="right">
                    <table width="60" border="0" cellpadding="0" cellspacing="0"
                           background="../images/addnew002.gif">

                        <tr onClick="window.location='areaInput.action'"
                            style="cursor: hand;">
                            <td>
                                <img src="../images/addnew001.gif">
                            </td>
                            <td nowrap>
                                新建知识领域
                            </td>
                            <td align="right">
                                <img src="../images/addnew003.gif">
                            </td>
                        </tr>
                      
                    </table>
            </tr>
        </table>
        <table width="99%" border="0" align="center" cellpadding="0"
               cellspacing="1" bgcolor="#b5d6e6">
                 <tr>
                <td height="22" colspan="7" align="left"
                    background="../images/main20100521_58.gif" class="alllisttitle">
                    知识领域列表
                </td>
            </tr>
            <tr bgcolor="#FFFFFF">
                <td height="22" align="center"
                    background="../images/main20100521_58.gif" class="alllisttitle">
                    序号
                </td> 
                  <td height="22" align="center"
                    background="../images/main20100521_58.gif" class="alllisttitle">
                    编号
                </td> 
                 <td align="center" background="../images/main20100521_58.gif"
                    class="alllisttitle">
                    名称
                </td>
               
                <td align="center" background="../images/main20100521_58.gif"
                    class="alllisttitle">
                    详细说明
                </td>
              <td align="center" background="../images/main20100521_58.gif"
                    class="alllisttitle">
                    修改
                </td>
                <td align="center" background="../images/main20100521_58.gif"
                    class="alllisttitle">
                    删除
                </td>
            </tr>
            <s:iterator value="pageBean.list" var="areaList" status="stat" >
                <tr bgcolor="#FFFFFF" onMouseOver="this.bgColor='#e3f0f7'"
                    onMouseOut="this.bgColor='#FFFFFF'">
                     <td height="19" align="left" class="zczb_qua">
                        ${stat.index+1}
                    </td>  
                      <td align="left">
                        <s:property value="code" />
                    </td>
                    <td align="left">
                        <s:property value="name" />
                    </td>
               
                    <td align="left">
                        <s:property value="des" />
                    </td>
                  <td style="text-align:center; background:#ffffff">
                  
                         <a href="areaUpdateInput.action?area.id=${id}&page=${page}">
                             <img src="<%=path%>/images/img3.gif" style="display:inline; border:0"/></a>
                   
                  </td>
                  <td align="center">
                    <tags:button code="delete" menu="74">
                        <a href="areadelete.action?area.id=${id}&page=${page}"
                           onclick="javascript:return del()"><img src="../images/img2.gif"></a>
                     </tags:button>
                  </td>
    </tr>
</s:iterator>
</table>
<s:include value="/common/page.jsp"/>
</body>
</html>
